package com.wjm.blog.common.base.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 分页请求实体
 * @Author: Ailos
 * @Date: 2020/4/20 13:53
 * @Version: 1.0
 */
@Data
@ApiModel
public class PageRequest {
    @ApiModelProperty(value = "每页显示条数")
    private long size = 10;

    @ApiModelProperty(value = "当前页")
    private long current = 1;

    @ApiModelProperty(value = "排序字段")
    private String sortby;

    @ApiModelProperty(value = "排序类型，正序：ASC，倒序：DESC")
    private String orderby;
}
